<!DOCTYPE html>
<html>
<head>
    {include file="public/header" /}
</head>
<style>
    .layuimini-form > .layui-form-item > .layui-input-block {
        margin-left: 1px !important;
    }
</style>
<body>
<div  class="layui-form layuimini-form">

    <input type="hidden" name="id" value="{$res.mod_id}" />
    <input type="hidden" name="supplier_id" value="{$res.supplier_id}" />



    <div class="layui-form-item" >

        <div class="layui-input-block">
            <table class="layui-table" id="{$res.id}">
                <colgroup>
                    <col width="150">
                    <col width="200">
                </colgroup>

                <tbody>
                <tr>
                    <td colspan="2">云盟商桥用户订单</td>
                </tr>

                <tr>
                    <td>下单人</td>
                    <td>{$res.name}</td>
                </tr>

                <tr>
                    <td>手机号</td>
                    <td>{$res.phone}</td>
                </tr>
                <tr>
                    <td>下单时间</td>
                    <td>{$res.create_time}</td>
                </tr>
                <tr>
                    <td> 收货信息 </td>
                    <td>{$res.receive_name} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$res.receive_phone} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$res.address_all}</td>
                </tr>
                <tr>
                    <td>订单信息</td>
                    <td>
                        <table class="layui-table " id="#datadetail">

                            <thead>
                            <tr>
                                <th>商品名称</th>
                                <th>商品单位</th>
                                <th>商品数量</th>
                                <th>商品金额</th>
                                <th>订单状态</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            {volist name="$res.bizpro_arr" id="v"}
                            <tr id="{$v.mod_id}">
                                <td style="white-space: normal;"> {$v.bizpro_name} </td>
                                <td> x{$v.buy_num} </td>
                                <td> {$v.bizpro_unit} </td>
                                <td> {$v.price} </td>
                                <td>
                                    {if condition="$v.data_status==1"}
                                    <span style="color:red">已下单</span>
                                    {elseif  condition="$v.data_status==2"}
                                    <span style="color:blue">未下单</span>
                                    {elseif  condition="$v.data_status==3"}
                                    <span style="color:green">已发货</span>
                                    {else}
                                    <span style="color:red">已完成</span>
                                    {/if}

                                </td>
                                <td>
                                    <a class="layui-btn layui-btn-primary layui-btn-xs data-count-edit" >修改状态</a>
                                    <a class="layui-btn layui-btn-primary layui-btn-xs data-count-del" >删除订单</a>
                                </td>
                            </tr>
                            {/volist}
                            </tbody>
                        </table></td>
                </tr>
                <tr>
                    <td>订单金额</td>
                    <td>{$res.total_price}</td>
                </tr>
                <tr>
                    <td>满减金额</td>
                    <td>{$res.cheap_price}</td>
                </tr>
                <tr>
                    <td>实际支付金额</td>
                    <td>{$res.pay_price}</td>
                </tr>
                <tr>
                    <td>支付方式</td>
                    <td>{$res.pay_type}</td>
                </tr>

                </tbody>
            </table>


        </div>
    </div>
    <!--<div class="layui-form-item" >-->
    <!--<div class="layui-input-block" style="display: flex">-->

    <!--<button class="layui-btn layui-btn-normal" lay-submit   lay-filter="saveBtn" >删除订单</button>-->
    <!--&lt;!&ndash;<button class="layui-btn layui-btn-normal" lay-submit lay-filter="printBtn">打印订单</button>&ndash;&gt;-->
    <!--</div>-->
    <!--</div>-->


</div>
{include file="public/footer" /}
<!--<script src="/static/admin/order/mkorder.js?v={$Think.const.TIMESTAMP}" charset="utf-8"></script>-->

</body>
<script src="/static/admin/saleorderdata/datadetail.js?v={$Think.const.TIMESTAMP}" charset="utf-8"></script>

<script>

</script>
</html>